﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using UCOLOR.Helpers;
using UCOLOR.Model;
using UColor.WPF;
namespace UCOLOR.View
{
    /// <summary>
    /// HomeView.xaml 的交互逻辑
    /// </summary>
    public partial class CartView :  UCModule 
    {
        public CartView()
        {
            //data = DataHelper.getUserCarts("");
            InitializeComponent();
        }

        public IList<UserCart> data
        {
            get;
            set;
        }

        private void Button_Click(object sender, RoutedEventArgs e)
        {
            PostView view = new PostView();
            //(((DevExpress.Xpf.Core.DXWindow)(this.DataContext as MainWindow)).Content as DirView).ShowView(view);
            //var view = this.Parent;//ShowModudel
        }

    }
}
